package com.aaa.service.impl;

import com.aaa.entity.Dept;
import com.aaa.vo.Tu;
import com.aaa.mapper.DeptMapper;
import com.aaa.service.DeptService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DeptServiceImpl implements DeptService {
    @Resource
    private DeptMapper deptMapper;

    @Override
    public List<Dept> selectAllDept() {
        return deptMapper.selectAllDept();
    }

    @Override
    public List<Tu> gettu() {
        return deptMapper.gettu();
    }
}
